package com.sky.mapper;

import com.sky.entity.SetmealDish;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

@Mapper
public interface SetmealDishMapper {

    SetmealDish selectByDishId(List<Long> ids);

    void inseat(List<SetmealDish> setmealDishes);

    void deletesetmealdish(List<Long> ids);

    @Select("select * from setmeal_dish where id=#{id}")
    List<SetmealDish> selectById(Long id);
}
